package cn.lbwfree.day3_16;


/**
 * @date:2020年3月16日
 * @author:lbwfree
 */
public class One_zero {
	public static void main(String[] args) {
		int numInteger =(1<<5);
		for (int i = 0; i <numInteger; i++) {
			
			format(Integer.toBinaryString(i));
		}	
	}
	private static void format(String num) {
		if(num.length()<5)
		{
			int l=num.length();
			for (int i = 0; i < 5-l; i++) 
			{
				num='0'+num;
			}
		}
		System.out.println(num);
	}

}
